package org.lee.obs.event.listener;

import lombok.extern.slf4j.Slf4j;
import org.lee.obs.LotteryResult;

/**
 * MessageEventListener
 * 短信事伯监听
 *
 * @author dralee
 * @date 2021-11-23 18:45:31
 **/
@Slf4j
public class MessageEventListener implements EventListener {
    @Override
    public void notify(LotteryResult result) {
        log.info("给用户{}发送短信通知：{}", result.getUId(), result.getMessage());
    }
}
